//
//  UILabel+unifyLabel.m
//  JLStyleApp
//
//  Created by LvJianfeng on 15/10/12.
//  Copyright © 2015年 JLStyle. All rights reserved.
//

#import "UILabel+unifyLabel.h"

@implementation UILabel (unifyLabel)
- (UILabel *)fontSize:(CGFloat)size fontColor:(UIColor *)color textAlignment:(NSTextAlignment)alignment text:(NSString *)text{
    self.font = [UIFont systemFontOfSize:size];
    self.textColor = color;
    self.textAlignment = alignment;
    self.text = text;
    return self;
}


- (UILabel *)fontSize:(CGFloat)size fontColor:(UIColor *)color textAlignment:(NSTextAlignment)alignment lines:(NSInteger)line text:(NSString *)text{
    self.font = [UIFont systemFontOfSize:size];
    self.textColor = color;
    self.textAlignment = alignment;
    self.numberOfLines = line;
    self.text = text;
    return self;
}


@end
